package com.wanmait.recruit.pojo;

import java.io.Serializable;
import java.util.List;

public class CompanyHr implements Serializable {
    private Integer id;

    /**
	* 公司ID
	*/
    private Integer companyId;
    private Company company;

    public Company getCompany() {
        return company;
    }

    public void setCompany(Company company) {
        this.company = company;
    }

    /**
	* 用户ID
	*/
    private Integer personId;

    public Integer getPersonId() {
        return personId;
    }

    public void setPersonId(Integer personId) {
        this.personId = personId;
    }

    private List<Person> persons;

    public List<Person> getPersons() {
        return persons;
    }

    public void setPersons(List<Person> persons) {
        this.persons = persons;
    }

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

//    public Integer getPersonId() {
//        return personId;
//    }
//
//    public void setPersonId(Integer personId) {
//        this.personId = personId;
//    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", companyId=").append(companyId);
//        sb.append(", personId=").append(personId);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}